﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="XZKaoQinAdd.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.XZModel.XZKaoQinAdd" %>

<div class="pageContent">
	<form id="Form1" action="XZModel/XZKaoQinAdd.aspx?ajaxmethod=add&KQType=<%=KQType %>" class="pageForm required-validate" onsubmit="return validateCallback(this,dialogAjaxDone);">
    <div class="pageFormContent" layoutH="60">  
                    
            <p>
				<label>姓名：</label>
                <input type="text" id="XZKaoQinAdd_RealName" name="RealName" class="required textInput" alt="" readonly size="30" />
                <a class="btnLook" href="XZModel/XZUserSelectList.aspx?target=dialog&rel=XZKaoQinAdd" lookupgroup="orgLookup" maxable="false" width="600"  height="600"  resizable="false" title="请选择<%=KQType==1?"加班":KQType==2?"迟到":KQType==3?"早退":KQType==4?"请假":"漏打卡" %>员工">
                    <hi:text key="查找带回" />
                </a>
			 </p> 
             <p>
				<label>工号：</label>
                <input type="text" id="XZKaoQinAdd_UserName" name="UserName" readonly  class="required"  size="30"/>
			</p> 

              <div class="divider"></div>
            <p>
				<label>考勤日期：</label>
                <input type="text" name="KQDate" class="date required" value=""  />
                
			</p> 
            <p>
				<label><%=KQType==1?"加班":KQType==2?"迟到":KQType==3?"早退":KQType==4?"请假":"漏打卡" %>：</label>
                <input type="text" name="KQValue" value="0" size="10" <%=KQType == 5?"max=2":KQType==4?"max=1":"" %> />
                <label><%=KQType == 1 ? "小时" : KQType == 2 ? "分钟" : KQType == 3 ? "分钟" : KQType == 4 ? "天" : "次"%></label>
                
			</p>  

            <% if (KQType == 4)
               { %>
            <p>
				<label>请假类型：</label>
                <select name="KQState" class="combox">
                    <option value="" selected>正常</option>
                    <option value="异常请假">异常请假</option>
                </select>
            </p>
            <p style="width:420px!important; padding-left:130px!important;;">
                 如果是用抵迟到或漏打卡的，请选择<b style="color:Red;">异常请假</b>，否则请选择<b>正常</b>
            </p>
               
             
			
            <%} %>
             <div class="divider"></div>
               <p>
				<label>备注：</label>
                <input type="text" name="Remark" value="" />
                
			</p> 
            <input id="XZKaoQinAdd_isrefreshpar" name="isrefreshpar" type="hidden" value="false" />
    </div>
    <div class="formBar">
   
			<ul>
                <li>
                   <label><input type="checkbox" rel="#XZKaoQinAdd_isrefreshpar" onchange="$($(this).attr('rel')).val($(this).attr('checked')) " />是否刷新列表页</label> 
                </li>
				<li><div class="buttonActive"><div class="buttonContent">                 
                    <button type="submit">保存</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
       
	</form>
</div>